/* ==================================================================
   new.css
   Styles for the two sections added to index.html:
     1. CONNECTINNOVET SERVICES   ->  .services-section / .cis-*
     2. ENQUIRY / CONTACT FORM    ->  .enquiry-section  / .enq-*

   Everything is namespaced (.cis-* and .enq-*) so nothing here
   collides with base.css or pet_parents.css.
   Load this AFTER base.css.
   ================================================================== */

/* ============================================================ */
/* CONNECTINNOVET SERVICES SECTION                              */
/* ============================================================ */

.services-section {
  background: #f7fbfd;
}

.cis-stage {
  --cis-navy: #1b2a4a;
  --cis-teal: #0d3b52;
  --cis-sky: #eaf3fb;
  --cis-orange: #f4732a;
  --cis-orange-dark: #e5601a;
  --cis-ink: #1c2b3a;
  --cis-muted: #5b6b7c;
  --cis-line: #e3ecf3;

  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 30px 60px -20px rgba(20, 40, 70, 0.25);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.7fr;
  min-height: 460px;
  color: var(--cis-ink);
}

/* ---------- LEFT PANEL ---------- */

.cis-left {
  padding: 44px 40px 38px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(
      circle at 15% 90%,
      rgba(22, 160, 106, 0.06),
      transparent 45%
    ),
    #ffffff;
}

.cis-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cis-teal);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin: 0 0 10px 6px;
}

.cis-eyebrow::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--cis-orange);
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
}

.cis-headline {
  font-size: 34px;
  line-height: 1.16;
  font-weight: 800;
  color: var(--cis-navy);
  margin: 0 0 6px 6px;
}

.cis-accent {
  display: block;
  width: 34px;
  border-bottom: 3px solid var(--cis-orange);
  margin: 6px 0 14px 6px;
}

.cis-petparent {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 6px 6px;
}

.cis-petparent h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--cis-ink);
  margin: 0;
}

.cis-dog {
  flex: 0 0 auto;
}

.cis-subtext {
  color: var(--cis-muted);
  font-size: 14px;
  margin: 2px 0 18px 6px;
  max-width: 340px;
  line-height: 1.5;
}

.cis-features {
  list-style: none;
  margin: 0 0 26px 6px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.cis-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--cis-ink);
  font-weight: 500;
  line-height: 1.45;
}

.cis-features li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 4px;
  background: var(--cis-orange);
  clip-path: polygon(0 50%, 50% 0, 100% 50%, 50% 100%);
}

.cis-cta {
  margin-left: 6px;
  align-self: flex-start;
  background: linear-gradient(
    180deg,
    var(--cis-orange),
    var(--cis-orange-dark)
  );
  color: #fff;
  border: none;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 12px 20px -8px rgba(244, 115, 42, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cis-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px -8px rgba(244, 115, 42, 0.65);
}

.cis-cta:active {
  transform: translateY(0);
}

/* ---------- CENTER: PHONE ---------- */

.cis-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  border-left: 1px solid var(--cis-line);
}

.cis-phone {
  width: 205px;
  height: 420px;
  background: #0b1622;
  border-radius: 34px;
  padding: 8px;
  box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.55),
    0 0 0 2px rgba(255, 255, 255, 0.06) inset;
  position: relative;
}

.cis-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background: #3b4657;
  display: flex;
  flex-direction: column;
}

.cis-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 14px;
  background: #0b1622;
  border-radius: 10px;
  z-index: 3;
}

.cis-topbar {
  padding: 16px 12px 6px;
  color: #fff;
  z-index: 2;
}

.cis-topbar .cis-brand {
  font-size: 9px;
  opacity: 0.75;
  letter-spacing: 0.04em;
}

.cis-topbar .cis-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}

.cis-topbar .cis-name {
  font-size: 12px;
  font-weight: 700;
}

.cis-topbar .cis-timer {
  font-size: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 8px;
}

.cis-vet-photo {
  flex: 1;
  position: relative;
  overflow: hidden;
  /* fallback while the image loads, or if it fails */
  background: linear-gradient(135deg, #8a97a6, #5c6b7d);
}

.cis-vet-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* dark fade at the bottom so the call controls stay readable */
.cis-vet-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 30, 0) 55%,
    rgba(10, 20, 30, 0.55) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.cis-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 12px 0 16px;
  background: rgba(8, 14, 22, 0.55);
  position: relative;
  z-index: 2;
}

.cis-ctrl {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.cis-ctrl:hover {
  transform: scale(1.08);
}

.cis-ctrl.cis-end {
  background: #e33b3b;
}

/* ---------- RIGHT: FEATURE ICONS ---------- */

.cis-right {
  background: #fbfdff;
  border-left: 1px solid var(--cis-line);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.cis-icon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--cis-line);
  border-radius: 10px;
  padding: 11px 12px;
  box-shadow: 0 4px 10px -6px rgba(20, 40, 70, 0.15);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.cis-icon-item:hover {
  transform: translateX(-3px);
  border-color: #c7dff0;
  box-shadow: 0 8px 16px -6px rgba(20, 40, 70, 0.22);
}

.cis-icon-badge {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--cis-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cis-teal);
}

.cis-icon-item span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cis-ink);
  line-height: 1.3;
}

@media (max-width: 820px) {
  .cis-stage {
    grid-template-columns: 1fr;
  }

  .cis-left {
    order: 0;
    padding: 30px 24px 24px;
  }

  .cis-center {
    order: 1;
    padding: 34px 20px;
    border-left: none;
    border-top: 1px solid var(--cis-line);
  }

  .cis-right {
    order: 2;
    border-left: none;
    border-top: 1px solid var(--cis-line);
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cis-icon-item {
    flex: 1 1 45%;
  }
}

/* ============================================================ */
/* ENQUIRY SECTION                                              */
/* ============================================================ */

.enquiry-section {
  background: #ffffff;
}

.enq-wrap {
  --enq-navy: #141b2d;
  --enq-orange: #f4732a;
  --enq-orange-dark: #e5601a;
  --enq-field-bg: #eef1fb;
  --enq-field-border: #dfe4f5;
  --enq-line: #eef1f6;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  color: var(--enq-navy);
}

/* ---------- LEFT ---------- */

.enq-eyebrow {
  color: var(--enq-orange);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
}

.enq-title {
  font-size: 48px;
  line-height: 1.18;
  font-weight: 800;
  color: var(--enq-navy);
  letter-spacing: -0.01em;
  margin-bottom: 34px;
  max-width: 640px;
}

.enq-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.enq-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  color: #3a4658;
}

.enq-check {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--enq-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.enq-check svg {
  width: 14px;
  height: 14px;
}

/* ---------- RIGHT: FORM CARD ---------- */

.enq-form-side {
  display: flex;
  justify-content: center;
}

.enq-card {
  width: 100%;
  max-width: 600px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--enq-line);
  box-shadow: 0 30px 70px -30px rgba(20, 30, 60, 0.18);
  padding: 44px 46px 40px;
}

.enq-field {
  margin-bottom: 22px;
}

.enq-field label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--enq-navy);
  margin-bottom: 9px;
}

.enq-field input,
.enq-field select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 9px;
  border: 1px solid var(--enq-field-border);
  background: var(--enq-field-bg);
  font-size: 15px;
  color: var(--enq-navy);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.enq-field input::placeholder {
  color: #8a93ab;
}

.enq-field input:focus,
.enq-field select:focus {
  border-color: var(--enq-orange);
  box-shadow: 0 0 0 3px rgba(244, 115, 42, 0.15);
}

.enq-select-wrap {
  position: relative;
}

.enq-select-wrap::after {
  content: "\25BE";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #5b6b7c;
  pointer-events: none;
  font-size: 14px;
}

.enq-error {
  display: none;
  color: #d9362f;
  font-size: 12.5px;
  margin-top: 6px;
  font-weight: 600;
}

.enq-field.invalid input,
.enq-field.invalid select {
  border-color: #d9362f;
  box-shadow: 0 0 0 3px rgba(217, 54, 47, 0.12);
}

.enq-field.invalid .enq-error {
  display: block;
}

.enq-submit-btn {
  width: 100%;
  max-width: 260px;
  background: linear-gradient(
    180deg,
    var(--enq-orange),
    var(--enq-orange-dark)
  );
  color: #fff;
  border: none;
  padding: 17px 20px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 24px -10px rgba(244, 115, 42, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.enq-submit-btn:hover {
  transform: translateY(-2px);
}

.enq-submit-btn:active {
  transform: translateY(0);
}

.enq-submit-btn:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

/* ---------- TOAST ---------- */

.enq-toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%) translateY(20px);
  background: #141b2d;
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9998;
}

.enq-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 980px) {
  .enq-wrap {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .enq-title {
    font-size: 34px;
  }

  .enq-card {
    padding: 32px 26px;
  }
}